<template>
	<view class="tooltip">
		<img src="../static/help.svg" class="coin-help" alt="" srcset="" @click.stop="showMessage">
	</view>
</template>

<script>
	export default {
		name: "PopTooltip",
		data() {
			return {

			};
		},
		props: {
			message: String
		},
		methods: {
			showMessage() {
				uni.showModal({
					showCancel: false,
					content: this.message
				})
			}
		}
	}
</script>

<style scoped lang="scss">
	.tooltip {
		display: inline-block;

		.coin-help {
			height: 24upx;
			width: 24upx;

		}
	}
</style>